import { navbar } from "vuepress-theme-hope";

export const enNavbar = navbar([
  "/",
  {
    text: "筑基笔记",
    prefix: "/zhuji/",
    children: [

    ],
  },
  { text: "筑基源码",  link: "1" },
  {
    text: "金丹笔记",
    prefix: "/jindan/",
    children: [
      {
        text: "redis",
        prefix: "redis/",
        children: [
          { text: "缓存穿透", link: "01-Redis缓存穿透原理、实战及优化" },
          { text: "缓存雪崩", link: "2" },
          { text: "缓存击穿", link: "3" },
        ],
      },
    ],
  },
  { text: "金丹源码",  link: "https://gitee.com/hsxleo/project-architecture" },
  {
    text: "元婴笔记",
    prefix: "/yuanying/",
    children: [
      {
        text: "权限设计",
        prefix: "role/",
        children: [
          { text: "RBAC", link: "1" },
          { text: "ABAC", link: "1" },
        ],
      },
    ],
  },
  { text: "元婴源码",  link: "1" },
]);
